package com.baking.dao;

import com.baking.model.Role;

import java.sql.SQLException;
import java.util.List;

public interface RoleMapper {

    public List<Role> getRoleList(Role role) throws SQLException;

    public List<Role> getRole(Role role) throws SQLException;

    public boolean updateById(Role roleId) throws  SQLException;

    public boolean addRole(Role role) throws SQLException;

    public boolean deletRole(Role role) throws SQLException;

}
